package shiYansi;

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		String labname;
		LabInfo A = new LabInfo();
		Scanner s = new Scanner(System.in);
		System.out.println("请输入该同学的名字：");
		String name = s.next();
		System.out.println("请输入该同学负责的实验室个数：");
		int num = s.nextInt();
		for(int i=0;i<num;i++) {
			System.out.println("请输入该同学负责的实验室：");
			labname = s.next();
			A.stuInfo(labname);
		}
		System.out.println("请输入五周以来实验室评分：");
		for(int i=0;i<num*5;i++) {
			String rating = s.next();
			A.ClearRating(rating);
		}

		A.ShowstuInfo(name);
		System.out.print("\n");
		System.out.println("清洁评分：");
		for(int i=0;i<num;i++) {
			System.out.println(A.alist2.get(i));
			for(int j=5*i;j<5*i+5;j++) {
				System.out.print(A.alist1.get(j) + "  ");
				if(j == 5*i+4) {
					System.out.println();
				}
			}
		}
		System.out.println();
		A.Shuqian();
        A.shhouInc();
	}

}














